﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SmartProject.Exceptions
{
    public class RequiredDataParameter : Exception
    {
        private string _attributeName;

        public RequiredDataParameter() { }

        public RequiredDataParameter(string message, string attributeName)
            : base(message)
        {
            _attributeName = attributeName;
        }

        public string AttributeName
        {
            get { return _attributeName; }
        }
    }
}
